package cas.ihep.spark.util;

import java.util.Collections;
import java.util.List;

public interface PartitionLocator<T> {
    List<String> getPreferredLocations(List<T> subList);
    default List<String> getPreferredLocations(T value){
        //noinspection unchecked
        return (List<String>)Collections.EMPTY_LIST;
    }
}
